﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.Serialization;
using Bpms.Common;

namespace Web
{
    public partial class ajax : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void getData()
        {
            int page = Utility.GetQueryInt("page");
            int totalUser = 100;
            
            //List userList = DBManager.getUsers();

            //Map map = new HashMap();
            //map.put("page", page);
            //map.put("total", totalUser);

            //List mapList = new ArrayList();

            //for (int i = 0; i < userList.size(); i++) {
            //User u = userList.get(i);
            //Map cellMap = new HashMap();
            //cellMap.put("id", i);
            //cellMap.put("cell", new Object[] { u.getId(), u.getUserName(),u.getUserPass() });
            //mapList.add(cellMap);
            //}

            //map.put("rows", mapList);

            //JSONObject object = new JSONObject(map);
            //System.out.println(object.toString());


        }

    }
}
